package com.xilihui.xlh.business.entities;

import com.google.gson.annotations.SerializedName;
import com.xilihui.xlh.core.app.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2018/6/25.
 */

public class AppointmentEntity extends BaseEntity{


    /**
     * pageCount : 2
     * data : {"appoint":[{"id":"19","start_time":"2018.06.25 08:35","end_time":"2018.06.26 09:59","check_start_time":"","check_end_time":"","seat_type":"2","agent_id":"8","project_id":"5","status":"0","remark":"","agent":{"id":"8","name":"测试添加门店 归属市代","headimg":"","phone":"13877777666","province_id":"10808","city_id":"10960","district_id":"10962","address":"安索","city_agent_id":"1","open_time":"08:00:00","close_time":"22:00:00","score":"5","provice":"江苏省","city":"无锡市","district":"崇安区"},"hair_project":{"project_id":"5","name":"拉直"},"seat":{"seat_type":"2","name":"VIP"}},{"id":"14","start_time":"2018.06.23 12:00","end_time":"2018.06.23 16:00","check_start_time":"2018.06.14 20:44","check_end_time":"2018.06.14 21:44","seat_type":"2","agent_id":"8","project_id":"5","status":"0","remark":"","agent":{"id":"8","name":"测试添加门店 归属市代","headimg":"","phone":"13877777666","province_id":"10808","city_id":"10960","district_id":"10962","address":"安索","city_agent_id":"1","open_time":"08:00:00","close_time":"22:00:00","score":"5","provice":"江苏省","city":"无锡市","district":"崇安区"},"hair_project":{"project_id":"5","name":"拉直"},"seat":{"seat_type":"2","name":"VIP"}}]}
     */

    private int pageCount;
    private DataBean data;

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        
        private List<AppointBean> serverAccount;
        private List<AppointBean> appoint;

        public List<AppointBean> getAppoint() {
            return appoint;
        }

        public void setAppoint(List<AppointBean> appoint) {
            this.appoint = appoint;
        }

        public List<AppointBean> getServerAccount() {
            return serverAccount;
        }

        public void setServerAccount(List<AppointBean> serverAccount) {
            this.serverAccount = serverAccount;
        }

        public static class AppointBean implements Serializable{
            /**
             * id : 19
             * start_time : 2018.06.25 08:35
             * end_time : 2018.06.26 09:59
             * check_start_time : 
             * check_end_time : 
             * seat_type : 2
             * agent_id : 8
             * project_id : 5
             * status : 0
             * remark : 
             * agent : {"id":"8","name":"测试添加门店 归属市代","headimg":"","phone":"13877777666","province_id":"10808","city_id":"10960","district_id":"10962","address":"安索","city_agent_id":"1","open_time":"08:00:00","close_time":"22:00:00","score":"5","provice":"江苏省","city":"无锡市","district":"崇安区"}
             * hair_project : {"project_id":"5","name":"拉直"}
             * seat : {"seat_type":"2","name":"VIP"}
             */
            
            private String id;
            private String start_time;
            private String end_time;
            private String check_start_time;
            private String check_end_time;
            private String seat_type;
            private String agent_id;
            private String project_id;
            private String status;
            private String statusX;
            private String remark;
            private int type = 1;// 1(正常) 2（一笔收款正在进行）
            private String sa_id;// serverAccount里的数据
            private boolean isSelect = false;
            private AgentBean agent;
            private HairProjectBean hair_project;
            private SeatBean seat_set;
            

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getCheck_start_time() {
                return check_start_time;
            }

            public void setCheck_start_time(String check_start_time) {
                this.check_start_time = check_start_time;
            }

            public String getCheck_end_time() {
                return check_end_time;
            }

            public void setCheck_end_time(String check_end_time) {
                this.check_end_time = check_end_time;
            }

            public String getSeat_type() {
                return seat_type;
            }

            public void setSeat_type(String seat_type) {
                this.seat_type = seat_type;
            }

            public String getAgent_id() {
                return agent_id;
            }

            public void setAgent_id(String agent_id) {
                this.agent_id = agent_id;
            }

            public String getProject_id() {
                return project_id;
            }

            public void setProject_id(String project_id) {
                this.project_id = project_id;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getStatusX() {
                return statusX;
            }

            public void setStatusX(String statusX) {
                this.statusX = statusX;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getSa_id() {
                return sa_id;
            }

            public void setSa_id(String sa_id) {
                this.sa_id = sa_id;
            }

            public boolean isSelect() {
                return isSelect;
            }

            public void setSelect(boolean select) {
                isSelect = select;
            }

            public AgentBean getAgent() {
                return agent;
            }

            public void setAgent(AgentBean agent) {
                this.agent = agent;
            }

            public HairProjectBean getHair_project() {
                return hair_project;
            }

            public void setHair_project(HairProjectBean hair_project) {
                this.hair_project = hair_project;
            }

            public SeatBean getSeat() {
                return seat_set;
            }

            public void setSeat(SeatBean seat) {
                this.seat_set = seat;
            }

            public static class AgentBean implements Serializable{
                /**
                 * id : 8
                 * name : 测试添加门店 归属市代
                 * headimg : 
                 * phone : 13877777666
                 * province_id : 10808
                 * city_id : 10960
                 * district_id : 10962
                 * address : 安索
                 * city_agent_id : 1
                 * open_time : 08:00:00
                 * close_time : 22:00:00
                 * score : 5
                 * provice : 江苏省
                 * city : 无锡市
                 * district : 崇安区
                 */

                private String id;
                private String name;
                private String headimg;
                private String phone;
                private String province_id;
                private String city_id;
                private String district_id;
                private String address;
                private String city_agent_id;
                private String open_time;
                private String close_time;
                private String score;
                private String provice;
                private String city;
                private String district;

                public String getId() {
                    return id;
                }
                
                public void setId(String id) {
                    this.id = id;
                }
                
                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getHeadimg() {
                    return headimg;
                }

                public void setHeadimg(String headimg) {
                    this.headimg = headimg;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public String getProvince_id() {
                    return province_id;
                }

                public void setProvince_id(String province_id) {
                    this.province_id = province_id;
                }

                public String getCity_id() {
                    return city_id;
                }

                public void setCity_id(String city_id) {
                    this.city_id = city_id;
                }

                public String getDistrict_id() {
                    return district_id;
                }

                public void setDistrict_id(String district_id) {
                    this.district_id = district_id;
                }

                public String getAddress() {
                    return address;
                }
                
                public void setAddress(String address) {
                    this.address = address;
                }

                public String getCity_agent_id() {
                    return city_agent_id;
                }
                
                public void setCity_agent_id(String city_agent_id) {
                    this.city_agent_id = city_agent_id;
                }
                    
                public String getOpen_time() {
                    return open_time;
                }

                public void setOpen_time(String open_time) {
                    this.open_time = open_time;
                }

                public String getClose_time() {
                    return close_time;
                }
                
                public void setClose_time(String close_time) {
                    this.close_time = close_time;
                }

                public String getScore() {
                    return score;
                }

                public void setScore(String score) {
                    this.score = score;
                }

                public String getProvice() {
                    return provice;
                }

                public void setProvice(String provice) {
                    this.provice = provice;
                }
                    
                public String getCity() {
                    return city;
                }

                public void setCity(String city) {
                    this.city = city;
                }

                public String getDistrict() {
                    return district;
                }

                public void setDistrict(String district) {
                    this.district = district;
                }

                @Override
                public String toString() {
                    return "AgentBean{" +
                            "id='" + id + '\'' +
                            ", name='" + name + '\'' +
                            ", headimg='" + headimg + '\'' +
                            ", phone='" + phone + '\'' +
                            ", province_id='" + province_id + '\'' +
                            ", city_id='" + city_id + '\'' +
                            ", district_id='" + district_id + '\'' +
                            ", address='" + address + '\'' +
                            ", city_agent_id='" + city_agent_id + '\'' +
                            ", open_time='" + open_time + '\'' +
                            ", close_time='" + close_time + '\'' +
                            ", score='" + score + '\'' +
                            ", provice='" + provice + '\'' +
                            ", city='" + city + '\'' +
                            ", district='" + district + '\'' +
                            '}';
                }
            }

            public static class HairProjectBean implements Serializable{
                /**
                 * project_id : 5
                 * name : 拉直
                 */

                private String project_id;
                private String name;
                
                public String getProject_id() {
                    return project_id;
                }

                public void setProject_id(String project_id) {
                    this.project_id = project_id;
                }

                public String getName() {
                    return name;
                }
                
                public void setName(String name) {
                    this.name = name;
                }
                
                @Override
                public String toString() {
                    return "HairProjectBean{" +
                            "project_id='" + project_id + '\'' +
                            ", name='" + name + '\'' +
                            '}';
                }
                
            }

            public static class SeatBean implements Serializable {
                /**
                 * seat_type : 2
                 * name : VIP
                 * 
                 * 
                 */
            
                private String seat_type;
                private String name;

                public String getSeat_type() {
                    return seat_type;
                }
                
                public void setSeat_type(String seat_type) {
                    this.seat_type = seat_type;
                }
                
                public String getName() {
                    return name;
                }
                
                public void setName(String name) {
                    this.name = name;
                }
                
                @Override
                public String toString() {
                    return "SeatBean{" +
                            "seat_type='" + seat_type + '\'' +
                            ", name='" + name + '\'' +
                            '}';
                }
                
            }
        }
        
        @Override
        public String toString() {
            return "DataBean{" +
                    "serverAccount=" + serverAccount +
                    ", appoint=" + appoint +
                    '}';
        }
    }
}
